using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FL.DBModule;
using FL.Lite;

namespace FL.DBModule.Sys
{
    [Serializable]
    [FL.DBModule.Table("t_sys_sequence", "id")]
    public class t_sys_sequence : BaseEntity
    {
        // 
        [Column]
        public Guid id
        { get; set; }
        //名称 
        [Column]
        public string name
        { get; set; }
        //编号 
        [Column]
        public string code
        { get; set; }
        //开始值 
        [Column]
        public long start_num
        { get; set; }
        //增量 
        [Column]
        public int step
        { get; set; }
        //最大值 
        [Column]
        public long max_num
        { get; set; }
        //当前值 
        [Column]
        public long cur_num
        { get; set; }
        //前缀方法 
        [Column]
        public string num_function
        { get; set; }
        //前缀编码 
        [Column]
        public string pre_position
        { get; set; }

        [Column]
        public string type
        {
            get;
            set;
        }
        [Column]
        public string post_postion
        { get; set; }
        //值长度 
        [Column]
        public int num_length
        { get; set; }
        //说明 
        [Column]
        public string description
        { get; set; }
        // 
        [Column]
        public Guid add_user
        { get; set; }
        // 
        [Column]
        public DateTime add_time
        { get; set; }

        [Column]
        public DateTime current_date
        {
            get;
            set;
        }
    }
}
